/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Resource-Tag-APIs
资源标签接口

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef ResourcetagApiModel_h
#define ResourcetagApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKResourcetag/ResourcetagModel.h>


@interface ResourcetagQueryResourceResult : NSObject
/// ResourceIds
 @property (strong,nonatomic,nonnull)  NSArray<NSString*>*  resourceIds;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithResourceIds:(NSArray<NSString*>*) resourceIds;
@end

@interface ResourcetagDescribeTagsRequest:JDCloudRequest

/// 标签参数
@property (strong,nonatomic,nonnull)  TagsReqVo*  tagKeysVo;
-(id) initWithRegion:(NSString *)regionId
tagKeysVo:(TagsReqVo*)tagKeysVo;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
tagKeysVo:(TagsReqVo*)tagKeysVo;

@end

@interface ResourcetagQueryResourceResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property ResourcetagQueryResourceResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(ResourcetagQueryResourceResult*) result;
@end

@interface ResourcetagDescribeTagsResult : NSObject
/// 获取标签结果详情
 @property (strong,nonatomic,nonnull)  TagsResVo*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(TagsResVo*) data;
@end

@interface ResourcetagDescribeTagsResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property ResourcetagDescribeTagsResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(ResourcetagDescribeTagsResult*) result;
@end

@interface ResourcetagTagResourcesRequest:JDCloudRequest

/// 绑定标签参数
@property (strong,nonatomic,nonnull)  TagResourcesReqVo*  tagResources;
-(id) initWithRegion:(NSString *)regionId
tagResources:(TagResourcesReqVo*)tagResources;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
tagResources:(TagResourcesReqVo*)tagResources;

@end

@interface ResourcetagDescribeResourcesResult : NSObject
/// 资源与对应标签列表详情
 @property (strong,nonatomic,nonnull)  ResourceResVo*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(ResourceResVo*) data;
@end

@interface ResourcetagDescribeResourcesResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property ResourcetagDescribeResourcesResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(ResourcetagDescribeResourcesResult*) result;
@end

@interface ResourcetagQueryResourceRequest:JDCloudRequest

/// 查找资源id的参数对象
@property (strong,nonatomic,nonnull)  QueryResourceReqVo*  queryResource;
-(id) initWithRegion:(NSString *)regionId
queryResource:(QueryResourceReqVo*)queryResource;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
queryResource:(QueryResourceReqVo*)queryResource;

@end

@interface ResourcetagTagResourcesResult : NSObject
/// 资源标签绑定结果详情
 @property (strong,nonatomic,nonnull)  TagResourcesResVo*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(TagResourcesResVo*) data;
@end

@interface ResourcetagTagResourcesResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property ResourcetagTagResourcesResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(ResourcetagTagResourcesResult*) result;
@end

@interface ResourcetagUnTagResourcesRequest:JDCloudRequest

/// 解绑标签参数
@property (strong,nonatomic,nonnull)  UnTagResourcesReqVo*  unTagResources;
-(id) initWithRegion:(NSString *)regionId
unTagResources:(UnTagResourcesReqVo*)unTagResources;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
unTagResources:(UnTagResourcesReqVo*)unTagResources;

@end

@interface ResourcetagDescribeResourcesRequest:JDCloudRequest

/// 资源标签参数对象
@property (strong,nonatomic,nonnull)  ResourceReqVo*  resourceVo;
-(id) initWithRegion:(NSString *)regionId
resourceVo:(ResourceReqVo*)resourceVo;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
resourceVo:(ResourceReqVo*)resourceVo;

@end

@interface ResourcetagUnTagResourcesResult : NSObject
/// 资源标签解绑结果详情
 @property (strong,nonatomic,nonnull)  UnTagResourcesResVo*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(UnTagResourcesResVo*) data;
@end

@interface ResourcetagUnTagResourcesResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property ResourcetagUnTagResourcesResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(ResourcetagUnTagResourcesResult*) result;
@end

#endif /* ResourcetagApiModel_h */
